.detail-matrix {
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  position: absolute;
  top: 115px;

  &-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;

    &-name {
      font-size: 16px;
      font-weight: bold;
    }

    &-button {
      &-active,
      &-negative {
        width: 21px;
        display: inline-block;
        height: 12px;
        margin: 0 3px 0 26px;
      }

      &-active {
        background-color: #11ab4eff;
      }

      &-negative {
        background-color: #e6eaefff;
      }

      span:nth-child(3n - 1) {
        margin-right: 10px;
      }
    }
  }

  &-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    &-item,
    &-item-active {
      flex: 1 70 6%;
      height: 28px;
      line-height: 28px;
      text-align: center;
      margin: 1px;
      background-color: #f7f9fc;
    }

    &-item-active {
      background-color: #11ab4eff;
      color: #ffffff;
    }
  }
}

.finger-info-layer {
  z-index: 1;
  .ant-tooltip-content {
    width: 400px;

    .ant-tooltip-inner {
      background-color: #ffffff;

      .finger-stack {
        &-header {
          display: flex;
          justify-content: space-between;
          color: #1c1d22;

          &-info {
            span {
              margin-left: 10px;
            }

            span:nth-child(odd) {
              color: #686c78ff;
              font-size: 14px;
            }

            span:nth-child(even) {
              color: #0b6fd6ff;
              font-size: 12px;
            }
            .has-right-border {
              padding-right: 10px;
              border-right: 1px solid #686c78ff;
            }
          }
        }

        .layer {
          width: 384px;
          position: relative;
          padding: 8px;
          line-height: 14px;
          min-height: 32px;
          text-align: center;
          color: #ffffff;

          &.application {
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
            background-color: rgba(11, 111, 214, 0.4);
          }

          &.support {
            background-color: rgba(11, 111, 214, 0.6);
          }

          &.service {
            background-color: rgba(11, 111, 214, 0.8);
          }

          &.system {
            border-bottom-left-radius: 2px;
            border-bottom-right-radius: 2px;
            background-color: rgba(11, 111, 214, 1);
          }

          .c-finger-item {
            display: inline-block;
            padding: 0 12px 0 12px;
            line-height: 14px;
            margin: 2px;
            background-color: #ffffff;
            border-radius: 10px;
            word-break: break-all;
            color: rgba(11, 111, 214, 1);
          }
        }
      }
    }
  }
}

.left95 {
  .ant-tooltip-arrow {
    left: 88%;
  }
}

.left190 {
  .ant-tooltip-arrow {
    left: 128%;
  }
}
